<template>
    <div style="background-color: yellow;">
        {{ mylabel }}:
        <input :type="mytype" v-model="myvalue">
    </div>
</template>

<script>

export default {
    props: {
        mylabel: {
            type: String,
            default: ""
        },
        mytype: {
            type: String,
            default: "text"
        }
    },
    data() {
        return {
            myvalue: ""
        }
    },
}
</script>